<?php
/*
 *  Created by Andrew J. Bennieston on 2007-03-06.
 *  Copyright (c) 2007. All rights reserved.
 */

interface Database {
	public function connect($dbname, $host, $user, $password, $port = NULL);
	public function disconnect();
	public function query($sql);
	public function insert($table, array $assoc_array);
	public function update($table, array $data, array $condition);
	public function delete($table, array $assoc_array);
}

?>